package com.demo.bean;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
/**
 * 电脑信息
 * @author hlf
 * @version 1.0
 * @date 2022/8/3 14:43
 */
@Data
@Builder
@ToString
@Scope(value = "prototype")
@Component(value = "computerInfo")
public class ComputerInfo {

    private String brand;

    private String name;

    public ComputerInfo() {

    }

    public ComputerInfo(String brand, String name) {
        this.brand = brand;
        this.name = name;
    }
}
